package com.iraeta.dao.main;

import com.iraeta.entity.main.ErpRdrecord11;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ErpRdrecord11Dao {
    int deleteByPrimaryKey(Long autoid);
    int insert(ErpRdrecord11 record);
    int updateByPrimaryKey(ErpRdrecord11 record);
    ErpRdrecord11 selectByPrimaryKey(Long autoid);
    List<ErpRdrecord11> selectTopRecord();
    List<ErpRdrecord11> selectByInvcodeAndOrderCode(@Param("invcode") String invcode, @Param("iordercode") String iordercode);
}